package com.service.lotterySystem.config;

import com.service.config.annotation.ChannelFilter;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;

/**
 * @ClassName: ChannelFilterAuthorization
 * @Description: 过滤器
 * @Author guochuang
 * @Date 2021/10/19
 * @Version 1.0
 */
@WebFilter(urlPatterns = "/*", filterName = "channelFilterAuthorization")
public class ChannelFilterAuthorization extends ChannelFilter {
    public ChannelFilterAuthorization() {
    }

    @Override
    public void init(FilterConfig filterConfig) throws ServletException {
        super.init(filterConfig);
    }

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException, IOException {
        super.doFilter(servletRequest, servletResponse, filterChain);
    }

    @Override
    public void destroy() {
        super.destroy();
    }
}
